// import { Routes, Route, Link } from 'react-router-dom';
import { useState } from "react";

function App() {
  const [value, setValue] = useState()
  const onChange = (v) => {
    setValue(v.target.value)
  }
  return (
    <div className="App">
      <div>
        React子应用
      </div>
      <input onChange={onChange}></input>
      <div>{value}</div>
    </div>
  );
}

export default App;